﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Dreamer Blog - 后台管理系统</title> 
    <!-- bootstrap 3.0.2 -->
    <link href="/resource/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- font Awesome -->
    <link href="/resource/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <!-- Ionicons -->
    <link href="/resource/css/ionicons.min.css" rel="stylesheet" type="text/css" />
    <!-- Morris chart -->
    <link href="/resource/css/morris/morris.css" rel="stylesheet" type="text/css" />
    <!-- jvectormap -->
    <link href="/resource/css/jvectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
    <!-- Theme style -->
    <link href="/resource/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="row">
    <div class="col-md-12">
    	<h1 class="panel-heading">系统设置</h1>
        <!--breadcrumbs start -->
        <ul class="breadcrumb">
            <li><a href="#"><i class="fa fa-home"></i> Home</a></li>
            <li><a href="#">Dashboard</a></li>
            <li class="active">Current page</li>
        </ul>
        <!--breadcrumbs end -->
    </div>
</div>
<div class="row">
	<div class="col-lg-12">
		<section class="panel">
		    <div class="panel-body">
		        <form class="col s12" id="form1" th:action="@{/admin/system/update}" th:object="${system}">
		        	<input name="id" type="hidden" th:value="*{id}">
		            <div class="form-group form-control-medium">
		                <label for="website">网站地址：</label>
		            	<div class="input-group m-b-10">
	                        <span class="input-group-addon">http://</span>
			                <input id="website" name="website" type="text" class="form-control" th:value="*{website}">
	                    </div>
		            </div>
		            <div class="form-group form-control-medium">
						<label for="title">站点标题：</label>
		                <input id="title" name="title" type="text" class="form-control" th:value="*{title}">
		            </div>
		            <div class="form-group form-control-medium">
						<label for="icp">备案号：</label>
						<input id="icp" name="icp" type="text" class="form-control" th:value="*{icp}">
		            </div>
		            <div class="form-group form-control-medium">
						<label for="uploaddir">默认上传目录：</label>
						<input id="uploaddir" name="uploaddir" type="text" class="form-control" th:value="*{uploaddir}">
		            </div>
		            <div class="form-group">
						<label for="copyright">站点版权：</label>
						<input id="copyright" name="copyright" type="text" class="form-control" th:value="*{copyright}">
		            </div>
		            <div class="form-group">
						<label for="keywords">站点关键字：</label>
		                <input id="keywords" name="keywords" type="text" class="form-control" th:value="*{keywords}">
		            </div>
		            <div class="form-group">
						<label for="appid">畅言AppID：<span style="font-weight:normal;">如还没有畅言，请点击<a href="http://changyan.kuaizhan.com/" target="_blank">畅言官网</a>进行注册。</span></label>
						<input id="appid" name="appid" type="text" class="form-control" th:value="*{appid}">
		            </div>
		            <div class="form-group">
						<label for="appkey">畅言AppKey：</label>
		                <input id="appkey" name="appkey" type="text" class="form-control" th:value="*{appkey}">
		            </div>
		            <div class="form-group">
						<label for="describe">站点描述：</label>
						<textarea id="describe" name="describe" class="form-control" th:text="*{describe}"></textarea>
		            </div>
		            <div class="form-btn-group-left">
		            	<button type="submit" class="btn btn-info">保存设置</button>
		            </div>
		        </form>
		
		    </div>
		</section>
	</div>
</div>
</body>
</html>
